package com.yjd.msg.comm.dispose;

import com.yjd.comm.fundservice.service.IFundLoanApplyService;
import com.yjd.comm.msg.MnsMsgInfo;
import com.yjd.msg.comm.listener.DefaulMsgDispose;
import org.springframework.util.Assert;

import javax.annotation.Resource;

/**
 * 借款申请消息处理
 * Created by yangchangyan on 2018/1/29.
 */
public class LoanApplyDispose implements DefaulMsgDispose {

    @Resource
    private IFundLoanApplyService fundLoanApplyService;

    @Override
    public void process(MnsMsgInfo mnsMsgInfo) throws Exception {
        this.fundLoanApplyService.loanApplyMsgDispose(mnsMsgInfo);
    }
}
